We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e451d1 commit 345e664Copy full SHA for 345e664
src/keri/app/exchanging.ts
@@ -79,6 +79,7 @@ export class Exchanges {
79
embeds: Dict<any>,
80
recipients: string[]
81
): Promise<any> {
82
+ const results = [];
83
for (const recipient of recipients) {
84
const [exn, sigs, atc] = await this.createExchangeMessage(
85
sender,
@@ -87,15 +88,17 @@ export class Exchanges {
87
88
embeds,
89
recipient
90
);
- return await this.sendFromEvents(
91
+ const result = await this.sendFromEvents(
92
name,
93
topic,
94
exn,
95
sigs,
96
atc,
- recipients
97
+ [recipient]
98
99
+ results.push(result);
100
}
101
+ return results;
102
103
104
/**
0 commit comments