 # User Arlo Breault <arlolra@gmail.com>
 # Date 1409207291 25200
 #      Wed Aug 27 23:28:11 2014 -0700
-# Node ID 956828be4d6f6303c203d15156b42e5729b9cbbc
+# Node ID 0ce7ef712c12473341cb492bba3d0d0d9da1b727
 # Parent  f54bd01f595b76e980d6661b7316fd8738b10119
 An API to support OTR-like protocols in Instantbird
 

            this._account.countBytes(baseMessage);
   },
-  sendMsg: function(aMessage) {
+  prepareForSending: function(aOm, aCount) {
     // Split the message by line breaks and send each one individually.
-    let messages = aMessage.split(/[\r\n]+/);
+    let messages = aOm.message.split(/[\r\n]+/);
 
     let maxLength = this.getMaxMessageLength();
 

+     Can return null if no changes are to be made. */
+  void prepareForSending(in imIOutgoingMessage message,
+                         [optional] out unsigned long messageCount,
+                         [retval, array, size_is(messageCount)] out wstring messages);
+
   /* Send information about the current typing state to the server.
      aString should contain the content currently in the text field. The
