Skip to content

Commit

Permalink
feat: fix sing_messages name on update_msg_text_with_signature
Browse files Browse the repository at this point in the history
  • Loading branch information
helllllllder committed Jul 20, 2023
1 parent cdd9e08 commit e91a0e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chats/apps/msgs/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def get_sender(self):
return self.user or self.contact

def update_msg_text_with_signature(self, msg_data: dict):
if self.user and self.room.queue.sector.sign_message and self.text:
if self.user and self.room.queue.sector.sign_messages and self.text:
msg_data["text"] = self.signed_text
return msg_data

Expand Down

0 comments on commit e91a0e8

Please sign in to comment.