don't crash on new chat
This commit is contained in:
parent
401ec20930
commit
93e8e3aca3
|
@ -967,7 +967,8 @@ WhatsXMPP represents users as u440123456789 and groups as g1234-5678."
|
||||||
(warn "None of ~A's resources were joined to group ~A to receive message ~A!" jid group-localpart msg-id)))
|
(warn "None of ~A's resources were joined to group ~A to receive message ~A!" jid group-localpart msg-id)))
|
||||||
(progn
|
(progn
|
||||||
(warn "No chat in database for group ~A for ~A -- creating" group-localpart jid)
|
(warn "No chat in database for group ~A for ~A -- creating" group-localpart jid)
|
||||||
(add-wa-chat comp conn jid (whatscl::key-jid key))))))
|
(add-wa-chat comp conn jid (whatscl::key-jid key))
|
||||||
|
(return)))))
|
||||||
(t nil)))))
|
(t nil)))))
|
||||||
|
|
||||||
(defun wa-handle-message (comp conn jid msg delivery-type)
|
(defun wa-handle-message (comp conn jid msg delivery-type)
|
||||||
|
|
Loading…
Reference in a new issue