Patch to LJ::Textmessage for uboot gateway
As I described here:
http://www.livejournal.com/talkread.bml?itemid=9957489
With most SMS gateways, you get the ID of the person sending the message, but not with uboot. The problem is trivially fixable.
I've tested this patch and it works fine. Now all I need to do is persuade someone to install it, and I can start using the text messaging feature I was so looking forward to when I signed up for a paid account...
http://www.livejournal.com/talkread.bml?itemid=9957489
With most SMS gateways, you get the ID of the person sending the message, but not with uboot. The problem is trivially fixable.
diff -ru LJ-TextMessage-1.4.1/TextMessage.pm LJ-TextMessage/TextMessage.pm
--- LJ-TextMessage-1.4.1/TextMessage.pm Sat May 19 21:59:21 2001
+++ LJ-TextMessage/TextMessage.pm Mon Sep 3 15:33:55 2001
@@ -432,7 +432,7 @@
"page" => "Sms",
"action" => "send_sms",
"nickname" => $self->{'number'},
- "text" => $msg->{'message'},
+ "text" => "($msg->{'from'}) $msg->{'message'}",
});
}
I've tested this patch and it works fine. Now all I need to do is persuade someone to install it, and I can start using the text messaging feature I was so looking forward to when I signed up for a paid account...
