mirror of
https://github.com/markqvist/Sideband.git
synced 2025-08-08 14:32:13 -04:00
Fixed new conversation error dialog being wonky
This commit is contained in:
parent
0cbd4c71ab
commit
fe4c61880e
3 changed files with 11 additions and 3 deletions
|
@ -4264,7 +4264,11 @@ class SidebandCore():
|
|||
|
||||
try:
|
||||
addr_b = bytes.fromhex(dest_str)
|
||||
self._db_create_conversation(addr_b, name, trusted)
|
||||
if addr_b == self.lxmf_destination.hash:
|
||||
RNS.log("Cannot create conversation with own LXMF address", RNS.LOG_ERROR)
|
||||
return False
|
||||
else:
|
||||
self._db_create_conversation(addr_b, name, trusted)
|
||||
|
||||
except Exception as e:
|
||||
RNS.log("Error while creating conversation: "+str(e), RNS.LOG_ERROR)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue