فهرست منبع

Strip out the sip:@ from the to user (#45)

Chris Black 8 سال پیش
والد
کامیت
34847b6d8b
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      sms/resources/install/scripts/app/sms/index.lua

+ 1 - 0
sms/resources/install/scripts/app/sms/index.lua

@@ -109,6 +109,7 @@ end
 	elseif direction == "outbound" then
 		if (argv[3] ~= nil) then
 			to_user = argv[3];
+			to_user = to_user:gsub("%sip%3A%40","");
 			to = string.match(to_user,'%d+');
 		else 
 			to = message:getHeader("to_user");