Open taoeffect opened 3 months ago
This could be related to the test for group-chat.spec.js
failing. Some debug steps:
[Steps to reproduce]
There were three errors; but I don't remember them.
joinGroupChatrooms
in group contractnot allowed 'gi.ui.prompt'
)Reference here
On a new device (private window) the notifications are different, and there is no notification showing that alexjin
joined the group, but oddly enough there is one that shows they left the group:
Grab SBP:
let sbp; import('https://xxx.xxx.xxx/assets/js/chunk-LLQIDLBC-cached.js').then(x => sbp = x.b)
Promise {<pending>}
Output of: console.info(JSON.stringify(sbp('state/vuex/state')[groupID], null, 2))
I verified that the output is the same in 'chelonia/rootState'
.
Output of console.info(JSON.stringify(sbp('state/vuex/state')[generalChatroomID], null, 2))
:
However, this did differ from: console.info(JSON.stringify(sbp('chelonia/rootState')[generalChatroomID], null, 2))
--- (clipboard)
+++ {
@@ -115,8 +115,18 @@
},
"pendingWatch": {
"z9brRu3VJ54iGtTidS2cLNvv4mRHrEqiYruFRcvNop6b8jN44ojx": [],
- "z9brRu3VPETuah3FLRxgx6rN2fPSqaKUr11T4vuauoDfYZ9USZDe": [],
- "z9brRu3VLN6b1FiKS7DHqby3nFQufuQynRZwkq4p95ceBfq3QDYk": []
+ "z9brRu3VPETuah3FLRxgx6rN2fPSqaKUr11T4vuauoDfYZ9USZDe": [
+ [
+ "csk",
+ "z2DrjgbMJtuw9dVN3Ap19xqrd2VhnpGAwnc9moMpE1NzGSCZ7yb"
+ ]
+ ],
+ "z9brRu3VLN6b1FiKS7DHqby3nFQufuQynRZwkq4p95ceBfq3QDYk": [
+ [
+ "csk",
+ "z2DrjgbFzFQmMe7hTPGVxXAuNzCiu1yhfzenVVpRvETvZJbbKt3"
+ ]
+ ]
}
},
"settings": {
These were from the original tab I have open to the testing
site.
The diff between 'state/vuex/state'
and 'chelonia/rootState'
on the generalChatroomID
in the private window was even more significant:
--- (clipboard)
+++ {
@@ -114,9 +114,72 @@
}
},
"pendingWatch": {
- "z9brRu3VJ54iGtTidS2cLNvv4mRHrEqiYruFRcvNop6b8jN44ojx": [],
-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VhnpGAwnc9moMpE1NzGSCZ7yb"
+ ],
+ [
+ "csk",
+ "z2DrjgbMJtuw9dVN3Ap19xqrd2VhnpGAwnc9moMpE1NzGSCZ7yb"
+ ]
+ ],
+ "z9brRu3VLN6b1FiKS7DHqby3nFQufuQynRZwkq4p95ceBfq3QDYk": [
+ [
+ "csk",
+ "z2DrjgbFzFQmMe7hTPGVxXAuNzCiu1yhfzenVVpRvETvZJbbKt3"
+ ],
+ [
+ "csk",
+ "z2DrjgbFzFQmMe7hTPGVxXAuNzCiu1yhfzenVVpRvETvZJbbKt3"
+ ]
+ ]
}
},
"settings": {
@@ -184,9 +247,6 @@
],
"pinnedMessages": [],
"_volatile": {
- "pendingKeyRevocations": {
- "z2DrjgbFFyjGRh9MQkGsi7zSy9juw3sGMtAynwWCKshdWb2EF2g": true,
- "z2DrjgbEqDyjCnLWCSLqpHucovSFenQKF2Ro6g6nHyGuVmtDKYB": true
- }
+ "pendingKeyRevocations": {}
}
}
Where this is the 'state/vuex/state'
version:
And this is the 'chelonia/rootState'
version:
Problem
Here you can see the message for
alexjin joined general
is missing (but the one foralex
, a third account, is there) ☝️Solution
Find out why sometimes the message doesn't show up. This might be a result of the changes in the recently merged PR #2137