diff options
Diffstat (limited to 'Swiften/Elements/Delay.h')
-rw-r--r-- | Swiften/Elements/Delay.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Elements/Delay.h b/Swiften/Elements/Delay.h index f59d729..3213037 100644 --- a/Swiften/Elements/Delay.h +++ b/Swiften/Elements/Delay.h @@ -16,7 +16,7 @@ namespace Swift { class Delay : public Payload { public: Delay() {}; - Delay(const boost::posix_time::ptime& time, const JID& from) : time_(time), from_(from) {}; + Delay(const boost::posix_time::ptime& time, const JID& from = JID()) : time_(time), from_(from) {}; const boost::posix_time::ptime& getStamp() const {return time_;}; void setStamp(const boost::posix_time::ptime& time) {time_ = time;}; |