don't fail when we receive a MAM message without a body. Fixes #8140
This commit is contained in:
parent
1eba16df6e
commit
0f2e66d7a2
1 changed files with 15 additions and 14 deletions
|
@ -1104,7 +1104,8 @@ class Logger:
|
||||||
time_col = int(float(time.mktime(tim)))
|
time_col = int(float(time.mktime(tim)))
|
||||||
else:
|
else:
|
||||||
time_col = int(float(time.time()))
|
time_col = int(float(time.time()))
|
||||||
if msg:
|
if not msg:
|
||||||
|
return
|
||||||
if self.jid_is_from_pm(with_) or nick:
|
if self.jid_is_from_pm(with_) or nick:
|
||||||
# It's a groupchat message
|
# It's a groupchat message
|
||||||
if nick:
|
if nick:
|
||||||
|
|
Loading…
Add table
Reference in a new issue