Skip to content

Commit

Permalink
Pass the whole event to matches() for compatibility w/ updated base_p…
Browse files Browse the repository at this point in the history
…lugin.py
  • Loading branch information
jeremiah-k committed Dec 24, 2024
1 parent b012f71 commit cb4d477
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/map_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ def get_mesh_commands(self):
return []

async def handle_room_message(self, room, event, full_message):
full_message = full_message.strip()
if not self.matches(full_message):
# Pass the whole event to matches() for compatibility w/ updated base_plugin.py
if not self.matches(event):
return False

from matrix_utils import connect_matrix
Expand Down

0 comments on commit cb4d477

Please sign in to comment.