diff options
Diffstat (limited to 'Swiften/StreamStack/WhitespacePingLayer.cpp')
-rw-r--r-- | Swiften/StreamStack/WhitespacePingLayer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/StreamStack/WhitespacePingLayer.cpp b/Swiften/StreamStack/WhitespacePingLayer.cpp index a99f300..35efc3c 100644 --- a/Swiften/StreamStack/WhitespacePingLayer.cpp +++ b/Swiften/StreamStack/WhitespacePingLayer.cpp @@ -21,16 +21,16 @@ WhitespacePingLayer::WhitespacePingLayer(TimerFactory* timerFactory) : isActive( } void WhitespacePingLayer::writeData(const ByteArray& data) { - onWriteData(data); + writeDataToChildLayer(data); } void WhitespacePingLayer::handleDataRead(const ByteArray& data) { - onDataRead(data); + writeDataToParentLayer(data); } void WhitespacePingLayer::handleTimerTick() { timer->stop(); - onWriteData(" "); + writeDataToChildLayer(" "); timer->start(); } |