fixed: 消息发送者恢复至-1

This commit is contained in:
yystopf 2026-03-17 08:55:12 +08:00
parent a61be77044
commit 22767d0e86
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
class Notice::Write::CreateService < Notice::Write::ClientService
attr_accessor :receivers, :sender, :content, :notification_url, :source, :extra, :type
def initialize(receivers, content, notification_url, source, extra={}, type=1, sender=1)
def initialize(receivers, content, notification_url, source, extra={}, type=1, sender=-1)
@receivers = receivers
@sender = sender
@content = content