diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2015-11-26 17:44:29 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2015-11-26 17:44:29 +0100 |
commit | 60211a315ee8cf83a6b87836c30abc28e4dec272 (patch) | |
tree | 897acf66fee9c793d2bfae03a7efa30f13f6e456 /src/main/java/eu/siacs/conversations/xmpp | |
parent | 23ef1c660a828c58e12a9134e0de2d012496cdc2 (diff) |
hide subject edit button if not editable by user
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/xmpp/forms/Field.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/xmpp/forms/Field.java b/src/main/java/eu/siacs/conversations/xmpp/forms/Field.java index c83880005..3ec1f2149 100644 --- a/src/main/java/eu/siacs/conversations/xmpp/forms/Field.java +++ b/src/main/java/eu/siacs/conversations/xmpp/forms/Field.java @@ -47,4 +47,8 @@ public class Field extends Element { field.setChildren(element.getChildren()); return field; } + + public String getValue() { + return findChildContent("value"); + } } |