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')
|
||||
|
||||
self.to_be_sent.append(msg_iq)
|
||||
if msg:
|
||||
gajim.logger.write('outgoing', msg, jid)
|
||||
log_msg = msg
|
||||
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))
|
||||
|
||||
def send_stanza(self, stanza):
|
||||
|
|
Loading…
Add table
Reference in a new issue