yaxim-org / yaxim

yaxim - a lean XMPP/Jabber client for Android
https://yaxim.org
GNU General Public License v3.0
486 stars 238 forks source link

When opening Yaxim it accesses the clipboard #280

Closed NCC1701M closed 1 year ago

NCC1701M commented 1 year ago

When I open the yaxim Android app I get the information that yaxim pasted from your clipboard.

Why does this happen? What happens with the data yaxim gets from the clipboard?

ge0rg commented 1 year ago

This is a convenience feature introduced in 0.9.3; if the clipboard contains an xmpp URI or something that looks like a JID, it will be shown as "Add to contacts..." in the app menu.

The respective code can be found in https://github.com/yaxim-org/yaxim/blob/master/src/org/yaxim/androidclient/MainWindow.java#L318-L327