element-hq / element-hq/element-ios

There is absolutely no indication that I received a group/community invite

Open
#2,143 0 comments 0 reactions 0 assignees View on GitHub
P3 parity-with-android T-Enhancement user feedback
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

@Matrixcoffee commented on [Sun Jan 21 2018](https://github.com/vector-im/riot-android/issues/1923)

Only when I open the communities screen do I see that I've been invited to a new community.

---

@ylecollen commented on [Mon Jan 22 2018](https://github.com/vector-im/riot-android/issues/1923#issuecomment-359346190)

@Matrixcoffee
It is a server design issue :
1- the group events are not synced
2- the clients must trigger

--- a request to retrieve the joined groups list
--- a request to retrieve the invited groups list
---- trigger a request for each group to have their description.

So, if i set a timer to refresh them once per minute (for example), you will complain that the app uses too much data.

---

@Matrixcoffee commented on [Wed Jan 24 2018](https://github.com/vector-im/riot-android/issues/1923#issuecomment-360240301)

@ylecollen: I [asked](https://matrix.to/#/#matrix-dev:matrix.org/%2415168139047426425DhMaQ:matrix.org) about this in [#matrix-dev](https://matrix.to/#/#matrix-dev:matrix.org) and according to @dbkr the group invites should come down the sync.

Looking at https://github.com/matrix-org/matrix-js-sdk/blob/master/src/sync.js#L743 should be helpful.

---

@Matrixcoffee commented on [Tue Oct 30 2018](https://github.com/vector-im/riot-android/issues/1923#issuecomment-434463511)

I can confirm that this information definitely appears in the sync stream unprompted. This is what it looks like:

```
{
"groups": {
"join": {
"+fdroid:matrix.org": {},
"+polynomial-supporters:matrix.org": {} },
"leave": {},
"invite": {
"+silly.bot.committee:t2bot.io": {
"profile": {
"name": "Silly Bot Committee",
"avatar_url": "mxc://t2bot.io/VsAdTQMSZxnVjXIREXWfCQjv" },
"inviter": "@travis:t2bot.io" },
"+serious.bot.committee:t2bot.io": {
"profile": {
"name": "Serious Bot Committee",
"avatar_url": "mxc://t2bot.io/4acfa78c31c60b21d8bfaed7f7789629" },
"inviter": "@travis:t2bot.io" } } }
}
```

---

@bmarty commented on [Fri Dec 28 2018](https://github.com/vector-im/riot-android/issues/1923#issuecomment-450396011)

It's Christmas :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.