Removed FIXME
Asterix, this method is actually new (i.e., was only in gc before), but now it is needed (see #1495). Also, what I was not expecting was the refresh of self.contact in this same function. This is required since the contact goes stale when we go offline. Not sure if that is a bug or not.
This commit is contained in:
parent
37c2441a38
commit
3f7217aefe
|
@ -1464,7 +1464,6 @@ class ChatControl(ChatControlBase):
|
||||||
tb.set_active(not tb.get_active())
|
tb.set_active(not tb.get_active())
|
||||||
|
|
||||||
def got_connected(self):
|
def got_connected(self):
|
||||||
#FIXME: We can remove this function ? it's usefull only in GC
|
|
||||||
ChatControlBase.got_connected(self)
|
ChatControlBase.got_connected(self)
|
||||||
# Refreshing contact
|
# Refreshing contact
|
||||||
self.contact = gajim.contacts.get_contact_with_highest_priority(
|
self.contact = gajim.contacts.get_contact_with_highest_priority(
|
||||||
|
|
Loading…
Reference in New Issue