Пример #1
0
        /// <summary>
        /// Sends a message to the other party.
        /// </summary>
        public void SendInstantMessage(string message)
        {
            if (SelectedCall == null)
            {
                return;
            }

            SelectedCall.SendInstantMessage(MimeType.Text_Plain, message);
        }
Пример #2
0
        /// <summary>
        /// Sends a message to the other party.
        /// </summary>
        public void SendInstantMessage(string message)
        {
            lock (_sync)
            {
                if (SelectedCall == null)
                {
                    return;
                }

                SelectedCall.SendInstantMessage(message);
            }
        }