Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pippy_app.py
diff options
context:
space:
mode:
Diffstat (limited to 'pippy_app.py')
-rw-r--r--pippy_app.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/pippy_app.py b/pippy_app.py
index b125b78..54f8947 100644
--- a/pippy_app.py
+++ b/pippy_app.py
@@ -110,6 +110,7 @@ class Chat(ViewSourceActivity):
text_channel = Channel(bus_name, channel)
self.text_channel = TextChannelWrapper(text_channel, conn)
self.text_channel.set_received_callback(self._received_cb)
+ self.text_channel.handle_pending_messages()
self._chat_is_room = False
self._alert(_('On-line'), _('Private Chat'))
@@ -535,7 +536,8 @@ class TextChannelWrapper(object):
self._text_chan[CHANNEL_TYPE_TEXT].connect_to_signal('Received',
self._received_cb)
- # handle pending messages
+ def handle_pending_messages(self):
+ """Get pending messages and show them as received."""
for id, timestamp, sender, type, flags, text in \
self._text_chan[
CHANNEL_TYPE_TEXT].ListPendingMessages(False):
@@ -663,6 +665,9 @@ CHAT_ICON=\
"""
CHAT_NEWS="""
+* #7692: Don't show pending messages when joining a chat (morgs)
+* Updated translations: nl, te, es
+
43
* Updated translations: zh_TW, ja