You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.
@oddvar This issue is about adding matrix support to the Chat app. As I understand, matrix is something like XMPP, but instead of a TCP/IP protocol, a HTTP protocol?
If so, this could be easily integrated in the Chat app, because it's built as a multi protocol app. Currently there are two backends implemented
a custom very simple protocol for chatting inside ownCloud
Ref http://matrix.org https://mailman.owncloud.org/pipermail/devel/2015-February/001062.html
@oddvar This issue is about adding matrix support to the Chat app. As I understand, matrix is something like XMPP, but instead of a TCP/IP protocol, a HTTP protocol?
If so, this could be easily integrated in the Chat app, because it's built as a multi protocol app. Currently there are two
backends
implementedThis is implemented by creating a backend class, registering it, and creating client side JS code. This is e.g. the backend class for XMPP: https://github.com/owncloud/chat/blob/master/lib/xmpp/xmpp.php . It's only needed to inform the Chat app about the protoocol. Next it's registered here: https://github.com/owncloud/chat/blob/master/appinfo/app.php#L23 . The JS code is rather simple and is located here: https://github.com/owncloud/chat/blob/master/js/src/app/backends/xmpp.js . The code which is executed by the Chat app are lines 182-272 (https://github.com/owncloud/chat/blob/master/js/src/app/backends/xmpp.js#L182-L272). It's an AngularJS factory (you don't need to know Angular IMO)
Feel free to implement it :) I can help with it of course.
The text was updated successfully, but these errors were encountered: