log outgoing subject when sending single message
This commit is contained in:
parent
de2fe68d40
commit
948d0a93e4
1 changed files with 5 additions and 2 deletions
|
@ -1611,8 +1611,11 @@ class Connection:
|
||||||
namespace = 'http://jabber.org/protocol/chatstates')
|
namespace = 'http://jabber.org/protocol/chatstates')
|
||||||
|
|
||||||
self.to_be_sent.append(msg_iq)
|
self.to_be_sent.append(msg_iq)
|
||||||
if msg:
|
log_msg = msg
|
||||||
gajim.logger.write('outgoing', msg, jid)
|
if subject:
|
||||||
|
log_msg = _('Subject: %s\n%s') % (subject, msg)
|
||||||
|
if log_msg:
|
||||||
|
gajim.logger.write('outgoing', log_msg, jid)
|
||||||
self.dispatch('MSGSENT', (jid, msg, keyID))
|
self.dispatch('MSGSENT', (jid, msg, keyID))
|
||||||
|
|
||||||
def send_stanza(self, stanza):
|
def send_stanza(self, stanza):
|
||||||
|
|
Loading…
Add table
Reference in a new issue