forked from Trustie/forgeplus
fixed: 消息发送者恢复至-1
This commit is contained in:
parent
a61be77044
commit
22767d0e86
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue