     
     func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {
         
-        let stickerModel = self.stickersArray[indexPath.row]
+        let sickerPack = self.stickersPacks[indexPath.section];
+        let stickerModel = sickerPack.stickers[indexPath.row]
         
         self.conv.sendSticker(stickerModel)
         

//
//  AAStickersView.swift
//  ActorSDK
//
//  Created by kioshimafx on 1/10/16.
//  Copyright © 2016 Steve Kite. All rights reserved.
//

import UIKit
import SDWebImage

public class AAStickersViewCell : UICollectionViewCell {
    

        let layoutCV = UICollectionViewFlowLayout()
        layoutCV.scrollDirection = .Vertical
        layoutCV.itemSize = CGSizeMake(widthHightItem, widthHightItem)
        layoutCV.sectionInset = UIEdgeInsets(top: 5, left: 0, bottom: 5, right: 0)
        
        // init collection view
        self.collectionView = UICollectionView(frame: frame, collectionViewLayout: layoutCV)
