powered by Jive Software

How to know who is talking to whom?

Linux+ Wildfire 3.2.1

is there is way I can get to know who is talking to whom?

Each users roster is stored in your database. ( Database Schema Guide )

If you really want to know who is talking to whom, it should be possible to write a plugin. Just implement the PacketInterceptor Interface.

public void interceptPacket(Packet packet, Session session, boolean incoming, boolean processed) throws PacketRejectedException {
     // don''t process anything twice
     if (!processed) { return; }      // catch all messages
     if (packet instanceof Message) {
          JID toJID = packet.getTo();
          JID fromJID = packet.getFrom();           /* ... */      }

alternatively, turn on logging, and read the XML files?

…or use the enterprise edition or Open Archive

Thank you all.

I’'m a newbie, so I need to take time to test according to your guide.