Kopete/Jabber Muc

From KDE UserBase Wiki
Revision as of 09:21, 23 April 2011 by Caig (talk | contribs) (Importing a new version from external source)

Internet-group-chat Jabber Group Chat, chiamato anche MUC (multi user chat: chat multi utente) è l'equivalente Jabber dei canali IRC.


Attenzione

Alcune di queste informazioni sono vecchie e potrebbero essere obsolete. Se utilizzi Kopete, modifica direttamente la pagina in inglese o aggiungi note alla pagina di discussione collegata



Kopete supporta MUC solo parzialmente perché la nostra libreria XMPP di base (iris) supporta solo il vecchio protocollo GroupChat. Comunque Kopete è ancora sufficientemente utilizzabile ed nella versione 0.12 sono stati fatti alcuni buoni miglioramenti.

Questa pagina descrive alcune funzionalità nascoste di Kopete.

MUC è davvero una buona alternativa a IRC. Supporta quasi tutto quanto supportato da IRC e anche di più.

Partecipare a una chat di gruppo

First things first, Kopete users sometimes ask how the join a groupchat. This is the join groupchat action in the jabber menu. There, a dialog asks you for the room and the server and your nick. Imagine you want to join [email protected]. "kde" is the room and "conference.kdetalk.net" is the server.

Style

Using the default style for groupchats is a bit annoying due to the space waste. Fortunately, some styles render groupchats well.

For Kopete 0.12 I would recommend these styles:

  • The Gaim style with the Contact Color variant.
  • The Kone style with the Contact Color No Icon Compact variant (available on kde-look)

Invitation

Did you know that from Kopete v.0.12, it is possible to invite a contact to a MUC ? Simply drag and drop the contact in the MUC chat window.

Bookmarks

Kopete uses JEP-0048 for showing the chat bookmark menu. There is no Kopete interface to remove or edit bookmarks. Each chat you join is automatically added to your bookmarks.

You could anyway use the send RAW XML dialog (in the jabber account menu) to edit the bookmark in XML on the server, as explained in JEP-0048 and JEP-0049

Example, to erase your bookmarks, enter

  <query xmlns='jabber:iq:private'>
    <storage xmlns='storage:bookmarks'>
  </query>

Then disconnect and reconnect in order the changes take effect.


Auto-JOIN

Kopete does also support auto-joining groupchat when connecting. This still follow the bookmark specification of JEP-0048.

Example, if you want to automatically join [email protected] when starting Kopete, you can send the following

  <query xmlns='jabber:iq:private'>
    <storage xmlns='storage:bookmarks'>
      <conference name='Kde channel'>
                  autojoin='true'
                  jid='[email protected]'>
        <nick>Puck</nick>
      </conference>
    </storage>
  </query>

XML

More generally, most of moderation and admin features are available with the XML console, although you need to have compiled kde with debug in order to see the result in the debug output. Run kdebugdialog and make sure jabber raw (14131) is checked.

All the MUC protocol is described in JEP-0045


Notifications

By default, messages in a group chat are notified with the "not important message" notification. If someone types your nick in the channel, the message will be highlighted, and the "highlight" notification will be emitted.

The Highlight plugin has great value in group chat. Go into the configure plugins menu, and enable highlight. You can add filters to match some word or regular expression in a chat and you can change the notification level of such messages.

Thus, you can stay idle in a groupchat and be notified when someone talks about a subject you are interested in.