Skip to content

Conversation

@srossbach
Copy link
Contributor

It was possible to impersonate yourself as another session user
(required a custom modification).

It was possible to impersonate yourself as another session user
(required a custom modification).
@srossbach srossbach requested review from m273d15, stefaus and tobous July 20, 2020 12:18
@Override
public void run() {
sarosSession.exec(Collections.singletonList(activity));
sarosSession.exec(user.getJID(), Collections.singletonList(activity));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getJID is deprecated. However, I found no alternative method (as e.g. getXMPPContact/getContact).
@stefaus How would you get the Contact/JID?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At the moment there is no proper replacement for everything where you need the contact plus the correct resource endpoint. XMPPContact can return the current best available JID, but this could change at any time.

the user.getJID() deprecation is really old, but until we have something better working this PR looks good to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants