You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-19 05:22:13 +03:00
Add await
This commit is contained in:
@@ -44,7 +44,7 @@ const exportConversationalHistory = async (room: Room, format: string, options)
|
|||||||
const res = getTimelineConversation(room);
|
const res = getTimelineConversation(room);
|
||||||
switch (format) {
|
switch (format) {
|
||||||
case exportFormats.HTML:
|
case exportFormats.HTML:
|
||||||
new HTMLExporter(res, room).export();
|
await new HTMLExporter(res, room).export();
|
||||||
break;
|
break;
|
||||||
case exportFormats.JSON:
|
case exportFormats.JSON:
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user