mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-31 05:12:46 +00:00
Improve roomserver logging
This commit is contained in:
parent
d21f3eace0
commit
07d0e72a8b
2 changed files with 21 additions and 0 deletions
|
@ -42,6 +42,19 @@ const (
|
|||
KindOld
|
||||
)
|
||||
|
||||
func (k Kind) String() string {
|
||||
switch k {
|
||||
case KindOutlier:
|
||||
return "KindOutlier"
|
||||
case KindNew:
|
||||
return "KindNew"
|
||||
case KindOld:
|
||||
return "KindOld"
|
||||
default:
|
||||
return "(unknown)"
|
||||
}
|
||||
}
|
||||
|
||||
// DoNotSendToOtherServers tells us not to send the event to other matrix
|
||||
// servers.
|
||||
const DoNotSendToOtherServers = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue