-
Notifications
You must be signed in to change notification settings - Fork 782
Feature/fga/auto accept invite #3531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
646f00f
6b10406
c551cf3
4b6484d
48fa9e1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Introduces AutoAcceptInvites which can be enabled at compile time. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,10 +57,6 @@ class CallUserMapper(private val session: Session, private val protocolsChecker: | |
// will make sure we know where how to map calls and also allow us know not to display | ||
// it in the future. | ||
invitedRoom.markVirtual(nativeRoomId) | ||
// also auto-join the virtual room if we have a matching native room | ||
// (possibly we should only join if we've also joined the native room, then we'd also have | ||
// to make sure we joined virtual rooms on joining a native one) | ||
session.joinRoom(invitedRoomId) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. test the compil flag? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think so, auto join virtual room is not mandatory There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you say so :) |
||
} | ||
} | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never disposed then? this change is a bit weird here.
Maybe move the code from
init {}
toentersForeground()
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope I want the invites to be accepted when the app is in background so I can receive calls.
Its just to keep a reference to the disposable so it doesn't get GC
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So you will restore this line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!