diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/com/isode/stroke/elements/MUCPayload.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/com/isode/stroke/elements/MUCPayload.java b/src/com/isode/stroke/elements/MUCPayload.java index 0445c56..6b52a14 100644 --- a/src/com/isode/stroke/elements/MUCPayload.java +++ b/src/com/isode/stroke/elements/MUCPayload.java @@ -110,6 +110,9 @@ public class MUCPayload extends Payload { * @return date, ca be null if not set */ public Date getSince() { + if(since_ == null) { + return null; + } return (Date)since_.clone(); } -}
\ No newline at end of file +} |