mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-10 18:07:28 +08:00
[Enhance][Bug Fix]
- For Arcaea 5.10.4 - Add support for the Link Play notification setting. - Fix a bug that public rooms cannot be matched possibly if some players leave the room. - Continue to fix the bug that the player cannot complete one course twice. - Continue to fix the bug that users cannot change online settings.
This commit is contained in:
@@ -26,6 +26,10 @@ class BaseNotification:
|
||||
raise NotImplementedError()
|
||||
|
||||
def insert(self):
|
||||
self.receiver.select_user_one_column('mp_notification_enabled', True, bool)
|
||||
if not self.receiver.mp_notification_enabled:
|
||||
return
|
||||
|
||||
self.c_m.execute(
|
||||
'''select max(id) from notification where user_id = ?''', (self.receiver.user_id,))
|
||||
x = self.c_m.fetchone()
|
||||
|
||||
Reference in New Issue
Block a user