Fix missing time reference - Fixes #8399
This commit is contained in:
parent
fa75bdeddd
commit
a8586ec20a
|
@ -377,7 +377,7 @@ class CommonConnection:
|
|||
form_node, user_nick, attention, correction_msg, callback)
|
||||
return
|
||||
# Encryption failed, do not send message
|
||||
tim = localtime()
|
||||
tim = time.localtime()
|
||||
gajim.nec.push_incoming_event(MessageNotSentEvent(None, conn=self,
|
||||
jid=jid, message=msgtxt, error=error, time_=tim, session=session))
|
||||
|
||||
|
|
Loading…
Reference in New Issue