Allow admins to delete posts
This commit is contained in:
parent
3bc2031866
commit
2f6ea767d1
21 changed files with 683 additions and 208 deletions
|
|
@ -34,6 +34,10 @@ export function getChatMessage(id: string): ChatMessageData | undefined {
|
|||
return messages.find((m) => m.id === id);
|
||||
}
|
||||
|
||||
export function removeChatMessage(id: string) {
|
||||
messages = messages.filter((m) => m.id !== id);
|
||||
}
|
||||
|
||||
async function loadProfile(pubkey: string) {
|
||||
if (profiles[pubkey]) return;
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue