don't print empty restored messages
This commit is contained in:
parent
10d0b06d44
commit
a337412821
|
@ -910,6 +910,8 @@ class TabbedChatWindow(chat.Chat):
|
|||
pending_how_many, timeout)
|
||||
|
||||
for row in rows: # row[0] time, row[1] has kind, row[2] the message
|
||||
if not row[2]: # message is empty, we don't print it
|
||||
continue
|
||||
if row[1] in (constants.KIND_CHAT_MSG_SENT, constants.KIND_SINGLE_MSG_SENT):
|
||||
kind = 'outgoing'
|
||||
name = gajim.nicks[self.account]
|
||||
|
|
Loading…
Reference in New Issue