(roomId int, message string, isQuiet bool, excludeUserIds ...int)
| 43 | } |
| 44 | |
| 45 | func SendRoomExitsMessage(roomId int, message string, isQuiet bool, excludeUserIds ...int) { |
| 46 | if disableMessageQueue { |
| 47 | return |
| 48 | } |
| 49 | |
| 50 | r := rooms.LoadRoom(roomId) |
| 51 | if r == nil { |
| 52 | return |
| 53 | } |
| 54 | |
| 55 | message = roomTextWrap.Wrap(message) |
| 56 | |
| 57 | r.SendTextToExits(message, isQuiet, excludeUserIds...) |
| 58 | |
| 59 | } |
| 60 | |
| 61 | func SendBroadcast(message string) { |
| 62 |
nothing calls this directly
no test coverage detected