iro/model/message.py
branchdevel
changeset 169 aabc04843d25
parent 166 6d6890f7e3f8
child 192 6c708c334f37
equal deleted inserted replaced
168:42b55855e3a6 169:aabc04843d25
    17 
    17 
    18     def __ne__(self,other):
    18     def __ne__(self,other):
    19         return not self.__eq__(other)
    19         return not self.__eq__(other)
    20 
    20 
    21 class SMS(Message):
    21 class SMS(Message):
    22     def __init__(self, cont):
    22     def __init__(self, cont, from_ = None):
    23         Message.__init__(self, cont, typ="sms")
    23         Message.__init__(self, cont, typ="sms")
       
    24         self.from_ = from_
    24 
    25 
    25     def sendto(self,anbieter,recipients):
    26     def sendto(self,anbieter,recipients):
    26         anbieter.sendSMS(self,recipients)
    27         anbieter.sendSMS(self,recipients)
    27 
    28 
    28 
    29