proposal info reply in thread
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 30s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 30s
Details
This commit is contained in:
parent
fe5fe522ab
commit
e44f43350a
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"localhost": {
|
||||
"DAO": "0x8d914D38dD301FC4606f5aa9fEcF8A76389020d3",
|
||||
"Work1": "0xfe58B9EB03F75A603de1B286584f5E9532ab8fB5",
|
||||
"Onboarding": "0x1d63FDe5B461106729fE1e5e38A02fc68C518Af5",
|
||||
"Proposals": "0x050C420Cc4995B41217Eba1B54B82Fd5687e9139"
|
||||
"DAO": "0x57BDFFf79108E5198dec6268A6BFFD8B62ECfA38",
|
||||
"Work1": "0xB8f0cd092979F273b752FDa060F82BF2745f192e",
|
||||
"Onboarding": "0x8F00038542C87A5eAf18d5938B7723bF2A04A4e4",
|
||||
"Proposals": "0x6c18eb38b7450F8DaE5A5928A40fcA3952493Ee4"
|
||||
},
|
||||
"sepolia": {
|
||||
"DAO": "0x8e5bd58B2ca8910C5F9be8de847d6883B15c60d2",
|
||||
|
|
|
@ -96,7 +96,14 @@ const start = async () => {
|
|||
try {
|
||||
const proposalEventId = await proposalEventIds.get(proposalIndex);
|
||||
const proposalEventUri = `https://matrix.to/#/${roomId}/${proposalEventId}`;
|
||||
await client.sendText(roomId, `Proposal ${proposalIndex}: ${proposalEventUri}`);
|
||||
const content = {
|
||||
body: `Proposal ${proposalIndex}: ${proposalEventUri}`,
|
||||
msgtype: 'm.text',
|
||||
};
|
||||
if (event.content['m.relates_to']?.rel_type === 'm.thread') {
|
||||
content['m.relates_to'] = event.content['m.relates_to'];
|
||||
}
|
||||
await client.sendEvent(roomId, 'm.room.message', content);
|
||||
} catch (e) {
|
||||
// Not found
|
||||
}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"localhost": {
|
||||
"DAO": "0x8d914D38dD301FC4606f5aa9fEcF8A76389020d3",
|
||||
"Work1": "0xfe58B9EB03F75A603de1B286584f5E9532ab8fB5",
|
||||
"Onboarding": "0x1d63FDe5B461106729fE1e5e38A02fc68C518Af5",
|
||||
"Proposals": "0x050C420Cc4995B41217Eba1B54B82Fd5687e9139"
|
||||
"DAO": "0x57BDFFf79108E5198dec6268A6BFFD8B62ECfA38",
|
||||
"Work1": "0xB8f0cd092979F273b752FDa060F82BF2745f192e",
|
||||
"Onboarding": "0x8F00038542C87A5eAf18d5938B7723bF2A04A4e4",
|
||||
"Proposals": "0x6c18eb38b7450F8DaE5A5928A40fcA3952493Ee4"
|
||||
},
|
||||
"sepolia": {
|
||||
"DAO": "0x8e5bd58B2ca8910C5F9be8de847d6883B15c60d2",
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"localhost": {
|
||||
"DAO": "0x8d914D38dD301FC4606f5aa9fEcF8A76389020d3",
|
||||
"Work1": "0xfe58B9EB03F75A603de1B286584f5E9532ab8fB5",
|
||||
"Onboarding": "0x1d63FDe5B461106729fE1e5e38A02fc68C518Af5",
|
||||
"Proposals": "0x050C420Cc4995B41217Eba1B54B82Fd5687e9139"
|
||||
"DAO": "0x57BDFFf79108E5198dec6268A6BFFD8B62ECfA38",
|
||||
"Work1": "0xB8f0cd092979F273b752FDa060F82BF2745f192e",
|
||||
"Onboarding": "0x8F00038542C87A5eAf18d5938B7723bF2A04A4e4",
|
||||
"Proposals": "0x6c18eb38b7450F8DaE5A5928A40fcA3952493Ee4"
|
||||
},
|
||||
"sepolia": {
|
||||
"DAO": "0x8e5bd58B2ca8910C5F9be8de847d6883B15c60d2",
|
||||
|
|
Loading…
Reference in New Issue