Skip to content

Commit

Permalink
summarise feeds
Browse files Browse the repository at this point in the history
  • Loading branch information
deleolajide committed Dec 18, 2024
1 parent 0703548 commit 8971b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1747,7 +1747,7 @@ function handleSummarizeAction(el) {
_converse.connection.sendIQ(stanza, function(iq) {
const response = iq.querySelector('response')?.innerHTML;
console.debug("handleSummarizeAction response", response, iq);
injectMessage(el.model.chatbox, "Summary from " + timeAgo, response);
injectMessage(el.model.chatbox || el.model.collection.chatbox, "Summary from " + timeAgo, response);

}, function(error){
console.error("handleSummarizeAction error", error);
Expand Down

0 comments on commit 8971b83

Please sign in to comment.