diff options
author | Yana Stamcheva <yana@jitsi.org> | 2008-01-29 13:07:52 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2008-01-29 13:07:52 +0000 |
commit | ab0523c30b3c05c8e5ccf4970296ef51b8928ee2 (patch) | |
tree | b0ecbeec8aaeefb9a0d3b2ff1ab1c7c218fe4426 /src/net/java/sip/communicator/service | |
parent | a604fe4a571beeb6be51335785d395f827bace11 (diff) | |
download | jitsi-ab0523c30b3c05c8e5ccf4970296ef51b8928ee2.zip jitsi-ab0523c30b3c05c8e5ccf4970296ef51b8928ee2.tar.gz jitsi-ab0523c30b3c05c8e5ccf4970296ef51b8928ee2.tar.bz2 |
New message type added for sms messages.
Diffstat (limited to 'src/net/java/sip/communicator/service')
-rw-r--r-- | src/net/java/sip/communicator/service/protocol/event/MessageReceivedEvent.java | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/net/java/sip/communicator/service/protocol/event/MessageReceivedEvent.java b/src/net/java/sip/communicator/service/protocol/event/MessageReceivedEvent.java index c267dcf..36ea4e0 100644 --- a/src/net/java/sip/communicator/service/protocol/event/MessageReceivedEvent.java +++ b/src/net/java/sip/communicator/service/protocol/event/MessageReceivedEvent.java @@ -23,13 +23,19 @@ public class MessageReceivedEvent * conversation message sent by another contact. */ public static final int CONVERSATION_MESSAGE_RECEIVED = 1; - + /** - * An event type indicting that the message being received is a system + * An event type indicating that the message being received is a system * message being sent by the server or a system administrator. */ public static final int SYSTEM_MESSAGE_RECEIVED = 2; - + + /** + * an event type indicating that the message being received is an SMS + * message. + */ + public static final int SMS_MESSAGE_RECEIVED = 3; + /** * The contact that has sent this message. */ @@ -39,7 +45,7 @@ public class MessageReceivedEvent * A timestamp indicating the exact date when the event occurred. */ private Date timestamp = null; - + /** * The type of message event that this instance represents. */ |