diff options
author | js <js-gajim@webkeks.org> | 2008-07-26 05:58:30 +0400 |
---|---|---|
committer | js <js-gajim@webkeks.org> | 2008-07-26 05:58:30 +0400 |
commit | 11b5ce1d04665d0a4a50c98c105c000171ad2932 (patch) | |
tree | d88c3b88918fd98d56ff0c34a6270be87c7dca11 | |
parent | 094052eb7c47d5cb1c0483e1f02e108067e052b5 (diff) |
Fix restoring of multiline status messages on reconnect.
-rwxr-xr-x | src/gajim.py | 3 | ||||
-rw-r--r-- | src/roster_window.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gajim.py b/src/gajim.py index 487bd3ddb..ec5354d3e 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -2782,8 +2782,9 @@ class Interface: self.roster.send_status(a, gajim.config.get_per('accounts', a, 'last_status'), + helpers.from_one_line( gajim.config.get_per('accounts', a, - 'last_status_msg')) + 'last_status_msg'))) return False def show_systray(self): diff --git a/src/roster_window.py b/src/roster_window.py index cf469122a..a696b312b 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1893,7 +1893,8 @@ class RosterWindow: gajim.config.set_per('accounts', account, 'last_status', status) gajim.config.set_per('accounts', account, - 'last_status_msg', txt) + 'last_status_msg', + helpers.to_one_line(txt)) if gajim.connections[account].connected < 2: self.set_connecting_state(account) |