mirror of
https://github.com/openmax-server/server.git
synced 2026-05-26 05:21:43 +03:00
MAX: исправление уязвимости с избранными
This commit is contained in:
@@ -223,12 +223,12 @@ class SearchProcessors(BaseProcessor):
|
||||
)
|
||||
)
|
||||
else:
|
||||
# Получаем последнее сообщение из чата
|
||||
# Получаем последнее сообщение из избранного
|
||||
message, messageTime = await self.tools.get_last_message(
|
||||
senderId, self.db_pool, protocol_type=self.type
|
||||
-senderId, self.db_pool, protocol_type=self.type
|
||||
)
|
||||
|
||||
# ID избранного
|
||||
# ID избранного для клиента
|
||||
chatId = senderId ^ senderId
|
||||
|
||||
# Добавляем чат в список
|
||||
|
||||
Reference in New Issue
Block a user