When I reply to SMS messages using my iPhone, gmail has this whole "Original message from..." thing that they append to it (AT&T is quoting the message I guess?).
This meant that any time I replied to an SMS, the plugin would send a message like this to whoever I was replying to:
Code:
This is my reply. Original Message From: [email protected] Sent: Sun, 1 Aug 2010 19:41...
I solved this problem by modifying the transfer code on line 103 of KingSmSreply.cs like so:
Code:
if (Staticreply != reply)
{
// Remove "Original Message From:" on replies
int stringSearchIndex = reply.IndexOf("Original Message From:");
string modifiedReply = reply;
if (stringSearchIndex > -1)
{
modifiedReply = modifiedReply.Substring(0,stringSearchIndex);
}
Lua.DoString("RunMacroText(\"/r " + modifiedReply + "\")");
Staticreply = reply;
slog("Whisper to: " + nameTemp);
slog(reply);
}