Ensure the message is understood as a debug indication (#2509)

This commit is contained in:
Benoit Marty 2020-12-11 15:31:28 +01:00 committed by Benoit Marty
parent 7828e3f501
commit 88a4dfd094
1 changed files with 2 additions and 2 deletions

View File

@ -182,8 +182,8 @@ class NoticeEventFormatter @Inject constructor(
}
}
private fun formatDebug(event: Event): CharSequence? {
return "{ \"type\": ${event.getClearType()} }"
private fun formatDebug(event: Event): CharSequence {
return "Debug: event type \"${event.getClearType()}\""
}
private fun formatRoomCreateEvent(event: Event, rs: RoomSummary?): CharSequence? {