Fix missing relative to friendly
parent
3648cc5ab9
commit
612d9bf2cc
|
@ -461,7 +461,7 @@ export class MainView extends View {
|
||||||
const messageId = child.getUserData() as number;
|
const messageId = child.getUserData() as number;
|
||||||
const message = state.currentChannel?.getMessage(messageId);
|
const message = state.currentChannel?.getMessage(messageId);
|
||||||
if (message) {
|
if (message) {
|
||||||
(child as ListItem).setText(`${message.content}; ${this.convertIsoTimeStringToRelative(message.createdAt)}`);
|
(child as ListItem).setText(`${message.content}; ${this.convertIsoTimeStringToFriendly(message.createdAt)}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue