Convert rocketchat-slashcommands-unarchiveroom to main module structure (#12827)
parent
7b21a6d714
commit
b65ed969c3
@ -0,0 +1 @@ |
||||
import './client'; |
||||
@ -0,0 +1,2 @@ |
||||
import './messages'; |
||||
import './server'; |
||||
@ -1,3 +1,5 @@ |
||||
import { RocketChat } from 'meteor/rocketchat:lib'; |
||||
|
||||
RocketChat.models.Messages.createRoomUnarchivedByRoomIdAndUser = function(roomId, user) { |
||||
return this.createWithTypeRoomIdMessageAndUser('room-unarchived', roomId, '', user); |
||||
}; |
||||
|
||||
Loading…
Reference in new issue