remove some more asserts. nicfit have a look if you really need one
This commit is contained in:
parent
ccc78991b2
commit
226185d73a
|
@ -989,7 +989,6 @@ class PopupNotificationWindow:
|
||||||
ev = gajim.get_first_event(self.account, self.jid, self.msg_type)
|
ev = gajim.get_first_event(self.account, self.jid, self.msg_type)
|
||||||
gajim.interface.roster.open_event(self.account, self.jid, ev)
|
gajim.interface.roster.open_event(self.account, self.jid, ev)
|
||||||
else: # chat or pm
|
else: # chat or pm
|
||||||
assert(self.msg_type == 'chat' or self.msg_type == 'pm')
|
|
||||||
gajim.interface.handle_event(self.account, contact.jid, self.msg_type)
|
gajim.interface.handle_event(self.account, contact.jid, self.msg_type)
|
||||||
|
|
||||||
self.adjust_height_and_move_popup_notification_windows()
|
self.adjust_height_and_move_popup_notification_windows()
|
||||||
|
|
|
@ -69,7 +69,7 @@ class MessageControl:
|
||||||
return True
|
return True
|
||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
# NOTE: Derived classes MUST implement this
|
# NOTE: Derived classes MUST implement this
|
||||||
assert(False)
|
pass
|
||||||
def repaint_themed_widgets(self, theme):
|
def repaint_themed_widgets(self, theme):
|
||||||
pass # NOTE: Derived classes SHOULD implement this
|
pass # NOTE: Derived classes SHOULD implement this
|
||||||
def update_ui(self):
|
def update_ui(self):
|
||||||
|
|
Loading…
Reference in New Issue