Skip to content
Snippets Groups Projects
Verified Commit 2214793a authored by Adrian Paschkowski's avatar Adrian Paschkowski :thinking:
Browse files

Fix telegram content not being editable

parent 841d1022
No related branches found
No related tags found
No related merge requests found
......@@ -74,9 +74,9 @@ export class TelegramService implements OnModuleInit {
else return curr;
});
const entry: TelegramEntry = this.entries.get(ctx.from.id) ?? {
content,
};
const entry: TelegramEntry = this.entries.get(ctx.from.id) ?? {};
if (content) entry.content = content;
if (image)
entry.photo = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment