aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2017-03-11 01:25:45 +0100
committerMarvin W <git@larma.de>2017-03-11 02:04:38 +0100
commit4c48bdc07291f55d7320721a5b0a29c092f7daa0 (patch)
tree2b7debd52adbbf25ebceb2721014e5dc6c61679f /xmpp-vala/src/module
parent1ccad732b9a783d8f0140373602b7c1b84d04198 (diff)
downloaddino-4c48bdc07291f55d7320721a5b0a29c092f7daa0.tar.gz
dino-4c48bdc07291f55d7320721a5b0a29c092f7daa0.zip
Improve Plugin API (allow to move encryption into plugin)
Diffstat (limited to 'xmpp-vala/src/module')
-rw-r--r--xmpp-vala/src/module/util.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmpp-vala/src/module/util.vala b/xmpp-vala/src/module/util.vala
index 65a9b261..7051307a 100644
--- a/xmpp-vala/src/module/util.vala
+++ b/xmpp-vala/src/module/util.vala
@@ -1,13 +1,13 @@
namespace Xmpp {
- string? get_bare_jid(string jid) {
+ public string? get_bare_jid(string jid) {
return jid.split("/")[0];
}
- bool is_bare_jid(string jid) {
+ public bool is_bare_jid(string jid) {
return !jid.contains("/");
}
- string? get_resource_part(string jid) {
+ public string? get_resource_part(string jid) {
return jid.split("/")[1];
}