Hi,
You can either have the same account on two places,
or, have 2 places each have their own account.
If you have same account on more than one device.
Then you introduce a synchronization topic.
Because with Jami there's no central server, those devices would have to
synchronize with each-other about what is the 'newest state'.
But.. This is what ChatGPT has to say about it:
_--_
_About Jami and how it communicates over the Distributed Hash Table
(DHT) when using the same account on multiple devices._
_If you have two devices logged into the same Jami account, here's how
they interact:_
*
_Independent DHT Nodes - Each device acts as an independent node in the
DHT network. This means both devices register their own presence on the
network separately._
*
_Message Delivery - When a message is sent to your Jami account, it
typically goes to the latest active device (the one that was last online
or interacted with). Messages are not automatically synced across all
logged-in devices like in centralized messaging apps._
*
_Calls and Peer-to-Peer - Calls are established directly between two
peers using the best available route (LAN, IPv6, or via TURN if
necessary). If someone calls your Jami account, only one of your devices
may receive the call, depending on network conditions and which device
is active._
*
_No Cloud Sync - Jami does not store messages or call logs on
centralized servers. This means if you log in on a second device,
previous conversations will not be automatically available unless
messages were manually sent between devices._
*
_Device Linking - While Jami supports using the same account on multiple
devices, they do not automatically sync messages. However, you can
transfer files between your own devices using Jami's peer-to-peer
functionality._
--
Also,
Notice, Mobile-phone suffer from an IP4-address changing when moving
between cell-towers.
So, yours and other peers being "3/4g phones with Jami" may move around
and receive new IP4-addresses,
and thus make the DHT needing to update their tables. This hinders
finding another node.
You can force a re-init of your device by disabling/enabling your
account. (that's what i do at least)
This is what ChatGPT explains about it:
--
Receiving a new IPv4 address can hinder Jami's DHT communication in
several ways because the DHT relies on stable peer-to-peer connections.
Here's why it can be a problem:
_1. LOSS OF NODE IDENTITY IN THE DHT_
* _The DHT maintains a distributed map of peers using their IP
addresses and cryptographic keys._
* _If your IP address changes, other nodes may no longer be able to
find your device at the old address._
* _It takes time for the network to update and re-discover your new
IP, causing temporary communication issues._
_2. NAT AND FIREWALL ISSUES_
* _If your new IP address is behind a different NAT (Network Address
Translation) setup, it might block incoming connections._
* _Some ISPs assign Carrier-Grade NAT (CGNAT) addresses, making it
even harder to maintain a stable DHT presence._
* _Firewalls may block incoming DHT traffic if your new IP has
stricter rules._
_3. TEMPORARY UNREACHABILITY_
* _When your IP changes, your Jami client must re-register itself on
the DHT network._
* _This takes time, during which other devices trying to reach you may
fail to connect._
* _If your IP changes frequently (e.g., mobile networks), it can cause
repeated connection drops._
_4. CALL AND MESSAGE DISRUPTIONS_
* _Active calls may drop if the IP address changes mid-call, since
Jami relies on direct peer-to-peer connections._
* _Messages sent while your device is re-registering might not reach
you immediately._
_HOW TO MITIGATE THIS?_
* _Enable IPv6 if possible - IPv6 doesn't have NAT issues, making
connections more stable._
* _Use a VPN - A VPN with a stable exit IP can help prevent frequent
IP changes from disrupting the DHT._
* _Manually refresh Jami - Restart Jami to force it to rejoin the DHT
faster._
--
i hope this helps with linking/syncing devices
Kind Regards
On 2025-03-19 16:47, Joe via Discussion list for GNU Jami wrote:
Hello....
I have Jami installed on my mobile, and would like to link it to Jami
on my computer(s)... a little like WhatsApp allows. No go, scratching
my head, reading all that there is on the phone and computer, being
asked a PIN, being asked to scan a QR code... going back, uninstalling,
reinstalling... re-reading, closing an account to open a new to try it
all again... not possible.
Help!!!!! ππππππ
Thanks!
Kind regards,
Joe