Format location event for debugging purpose
This commit is contained in:
parent
3a36762632
commit
d341611e54
@ -119,6 +119,7 @@ class TimelineItemFactory @Inject constructor(
|
|||||||
EventType.CALL_HANGUP,
|
EventType.CALL_HANGUP,
|
||||||
EventType.CALL_REJECT,
|
EventType.CALL_REJECT,
|
||||||
EventType.CALL_ANSWER -> callItemFactory.create(params)
|
EventType.CALL_ANSWER -> callItemFactory.create(params)
|
||||||
|
in EventType.BEACON_LOCATION_DATA -> noticeItemFactory.create(params)
|
||||||
// Crypto
|
// Crypto
|
||||||
EventType.ENCRYPTED -> {
|
EventType.ENCRYPTED -> {
|
||||||
if (event.root.isRedacted()) {
|
if (event.root.isRedacted()) {
|
||||||
|
@ -107,7 +107,8 @@ class NoticeEventFormatter @Inject constructor(
|
|||||||
EventType.REDACTION,
|
EventType.REDACTION,
|
||||||
EventType.STICKER,
|
EventType.STICKER,
|
||||||
in EventType.POLL_RESPONSE,
|
in EventType.POLL_RESPONSE,
|
||||||
in EventType.POLL_END -> formatDebug(timelineEvent.root)
|
in EventType.POLL_END,
|
||||||
|
in EventType.BEACON_LOCATION_DATA -> formatDebug(timelineEvent.root)
|
||||||
else -> {
|
else -> {
|
||||||
Timber.v("Type $type not handled by this formatter")
|
Timber.v("Type $type not handled by this formatter")
|
||||||
null
|
null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user